package cn.iocoder.yudao.module.acm.controller.admin.onboardsupplyplan.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 航机管理-机供品生产计划 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OnboardSupplyPlanRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "13319")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "计划编号")
    @ExcelProperty("计划编号")
    private String planCode;

    @Schema(description = "航班号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("航班号")
    private String flightNo;

    @Schema(description = "起飞时间")
    @ExcelProperty("起飞时间")
    private String depTime;

    @Schema(description = "所属公司")
    @ExcelProperty("所属公司")
    private String airlineComp;

    @Schema(description = "前舱数量")
    @ExcelProperty("前舱数量")
    private Integer frontCabinQty;

    @Schema(description = "中舱数量")
    @ExcelProperty("中舱数量")
    private Integer middleCabinQty;

    @Schema(description = "后舱数量")
    @ExcelProperty("后舱数量")
    private Integer rearCabinQty;

    @Schema(description = "特殊说明")
    @ExcelProperty("特殊说明")
    private String remarks;

    @Schema(description = "标记状态:1未标记;", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("标记状态:1未标记;")
    private Integer markStatus;

    @Schema(description = "生产状态，默认1未开始2进行中3已结束", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("生产状态，默认1未开始2进行中3已结束")
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "前舱机供品列表")
    private List<SupplyPlanDetailRespVO> frontDetailList;

    @Schema(description = "中舱机供品列表")
    private List<SupplyPlanDetailRespVO> middleDetailList;

    @Schema(description = "后舱机供品列表")
    private List<SupplyPlanDetailRespVO> rearDetailList;

}